package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.Product;
import com.atguigu.spyx.model.dto.system.ProductDto;
import com.atguigu.spyx.model.dto.system.ProductSaveDto;
import com.atguigu.spyx.model.vo.system.ProductVo;
import com.github.pagehelper.PageInfo;

/**
 * @author LT
 * @create 2023-11-10-19:34
 */
public interface ProductService {

    PageInfo<ProductVo> page(Integer pageNum, Integer pageSize, ProductDto productDto);

    void save(ProductSaveDto productSaveDto);

    ProductSaveDto getById(Long id);

    void updateById(ProductSaveDto productSaveDto);

    void deleteById(Long id);

    void updateAuditStatus(Long id, Integer auditStatus);

    void updateStatus(Long id, Integer status);
}
